/** 所有字体大小颜色，全部写在这里
    1、宏颜色常规命名规则： k字母开头，后拼接16进制颜色，以_color结尾
    2、宏字体命名规则：k字母开头[若中号粗（+M）,特粗(+B)，普通不加]，后接Font_,最后接字体大小
*/
#ifndef ColorFontMacros_h
#define ColorFontMacros_h

#pragma mark- 字体
#define kFont_11 kFont(11)
#define kFont_12 kFont(12)
#define kFont_13 kFont(13)
#define kFont_14 kFont(14)
#define kFont_15 kFont(15)
#define kFont_16 kFont(16)
#define kFont_17 kFont(17)
#define kFont_18 kFont(18)

#define kMFont_11 kMediumFont(11)
#define kMFont_12 kMediumFont(12)
#define kMFont_13 kMediumFont(13)
#define kMFont_14 kMediumFont(14)
#define kMFont_15 kMediumFont(15)
#define kMFont_16 kMediumFont(16)
#define kMFont_17 kMediumFont(17)
#define kMFont_18 kMediumFont(18)

#define kBFont_11 kBoldFont(11)
#define kBFont_12 kBoldFont(12)
#define kBFont_13 kBoldFont(13)
#define kBFont_14 kBoldFont(14)
#define kBFont_15 kBoldFont(15)
#define kBFont_16 kBoldFont(16)
#define kBFont_17 kBoldFont(17)
#define kBFont_18 kBoldFont(18)

#pragma mark- 颜色
//  系统自带颜色
#define kBlackColor          [UIColor blackColor]
#define kWhiteColor          [UIColor whiteColor]
#define kClearColor          [UIColor clearColor]
#define kGrayColor           [UIColor grayColor]
#define kLightGrayColor      [UIColor lightGrayColor]
#define kDarkGrayColor       [UIColor darkGrayColor]
#define kReadColor           [UIColor redColor]
#define kGreenColor          [UIColor greenColor]
#define kYellowColor         [UIColor yellowColor]
#define kOrangeColor         [UIColor orangeColor]
#define kPurpleColor         [UIColor purpleColor]
#define kBlueColor           [UIColor blueColor]
#define kBrownColor          [UIColor brownColor]
#define kCyanColor           [UIColor cyanColor]
#define kMagentaColor        [UIColor magentaColor]



// 常用颜色
#define kMainColor kHexColor(0xff6450)//主颜色
#define kBgColor kHexColor(0xf5f5f5)//背景颜色
#define kLineColor kHexColor(0xeeeeee)//线条颜色

// 其他颜色
#define k333333_color kHexColor(0x333333)
#define k666666_color kHexColor(0x666666)
#define k777777_color kHexColor(0x777777)
#define k888888_color kHexColor(0x888888)
#define k999999_color kHexColor(0x999999)

#define kc2c2c2_color kHexColor(0xc2c2c2)
#define kdddddd_color kHexColor(0xdddddd)
#define keeeeee_color kHexColor(0xeeeeee)
#define k4a4a4a_color kHexColor(0x4a4a4a)
#define kDEDEDE_color kHexColor(0xDEDEDE)
#define kBFBFBF_color kHexColor(0xBFBFBF)
#define k8e8e8e_color kHexColor(0x8e8e8e)


#pragma mark- 快捷应用
#define kFont(x) [UIFont systemFontOfSize:x]
#define kMediumFont(S) [UIFont fontWithName:@"PingFang-SC-Medium" size:S]
#define kBoldFont(S) [UIFont boldSystemFontOfSize:S]

// 颜色 kHexStrColor(@"#BFBFBF")
#define kHexStrColor(hex) [UIColor colorWithHexStr:hex alpha:1]
// 颜色  kHexColor(0x067AB5)
#define kHexColor(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]
// 颜色  kHexA(0x333333,1)
#define kHexA(rgbValue,a) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:a]
// 颜色  kRGBA(0,0,0,1)
#define kRGBA(r,g,b,a) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:a/1.0f]



#endif /* ColorFontMacros_h */
